package cn.pxs.entity;

//书本类型表
public class BookType {
    private Integer id;//唯一id
    private String type;//类型名
    private Integer pid=0; //爹 id
    private Integer prio=100; //排序用的id
    private Integer isdel=0;  // 0 可以用， 1代表不能用

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getPrio() {
        return prio;
    }

    public void setPrio(Integer prio) {
        this.prio = prio;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    @Override
    public String toString() {
        return "BookType{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", pid=" + pid +
                ", prio=" + prio +
                ", isdel=" + isdel +
                '}';
    }
}
